$OpenBSD: patch-setaudio_c,v 1.1.1.1 2010/08/23 09:31:23 ajacoutot Exp $
--- setaudio.c.orig	Wed Apr  7 22:06:21 1999
+++ setaudio.c	Mon Aug 23 07:59:21 2010
@@ -292,6 +292,7 @@ modification follow.
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
@@ -312,7 +313,7 @@ void setaudio ( void )
 char File_Name[1024];
 char *file_name;
 
-#ifdef VMS
+#if defined VMS || defined __OpenBSD__
 #else
 
   /* The audio device sometimes does not work if it is left open for a long
